package com.lz.PublisherEventTest.component;

import com.lz.PublisherEventTest.event.NewEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

/**
 * <pre>
 * @描述：
 * @作者：lizhao
 * @创建时间： 2024/9/25 上午9:37
 * </pre>
 **/
@Component
public class ComponentTest {
    @EventListener
    public void test(NewEvent event){
        System.out.println("ComponentTest test");
    }
}
